<html xmlns="http://www.w3.org/1999/xhtml" xmlns:c="http://java.sun.com/jstl/core"
      xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:t="http://myfaces.apache.org/tomahawk"
      xmlns:v="http://corejsf.com/validator">

<f:view>
<f:loadBundle var="text" basename="#{dwtzQtqkForm.bundleName}"/>
    <head>
        <title>#{text['dwtzQtqkDetail.title']}</title>
        <meta name="heading" content="#{text['dwtzQtqkDetail.heading']}"/>
        <style type="text/css">
            .jscalendar-DB-div-style {
                position: absolute;
                margin-top: -120px;
                margin-left: -508px;
            }
    </style>
    </head>
<body id="dwtzQtqkForm">

<h:form id="dwtzQtqkForm" onsubmit="return validateDwtzQtqkForm(this)">


<h:inputHidden value="#{dwtzQtqkForm.dwtzQtqk.id}" id="id"/>
<h:inputHidden value="#{dwtzQtqkForm.dwtzQtqk.version}" id="version"/>


<h:panelGrid columns="6">
    
 
    <h:outputLabel styleClass="desc" for="qtry" value="#{text['dwtzQtqk.qtry']}"/>
    <t:message for="qtry" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="qtry" value="#{dwtzQtqkForm.dwtzQtqk.qtry}" required="false" maxlength="1000">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="yhzc" value="#{text['dwtzQtqk.yhzc']}"/>
    <t:message for="yhzc" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="yhzc" value="#{dwtzQtqkForm.dwtzQtqk.yhzc}" required="false" maxlength="1000">
    </h:inputText>
    
    <h:outputLabel styleClass="desc" for="zqgp" value="#{text['dwtzQtqk.zqgp']}"/>
    <t:message for="zqgp" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="zqgp" value="#{dwtzQtqkForm.dwtzQtqk.zqgp}" required="false" maxlength="1000">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="zzrz" value="#{text['dwtzQtqk.zzrz']}"/>
    <t:message for="zzrz" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="zzrz" value="#{dwtzQtqkForm.dwtzQtqk.zzrz}" required="false" maxlength="1000">
    </h:inputText>

    <h:panelGroup styleClass="buttonBar bottom">
        <h:commandButton value="#{text['button.save']}" action="#{dwtzQtqkForm.save}" id="save" styleClass="button"/>

        <c:if test="${not empty dwtzQtqkForm.dwtzQtqk.id}">
        <h:commandButton value="#{text['button.delete']}" action="#{dwtzQtqkForm.delete}"
            id="delete" styleClass="button" onclick="bCancel=true; return confirmDelete('DwtzQtqk')"/>
        </c:if>

        <h:commandButton value="#{text['button.cancel']}" action="cancel" immediate="true"
            id="cancel" styleClass="button" onclick="bCancel=true"/>
    </h:panelGroup>
    <h:outputText/><h:outputText/>
</h:panelGrid>
</h:form>

<v:validatorScript functionName="validateDwtzQtqkForm"/>

<script type="text/javascript">
    //Form.focusFirstElement($('dwtzQtqkForm'));
    highlightFormElements();
</script>

</body>
</f:view>
</html>

 <!-- todo: change this to read the identifier field from the other pojo -->
    <!--<h:selectOneMenu value="#{dwtzQtqkForm.dwtzQtqk.jbqk}" id="jbqk" required="false" styleClass="select">
        <f:selectItems value="#{dwtzQtqkForm.dwtzQtqk.jbqk}"/>
    </h:selectOneMenu>
    <h:outputLabel styleClass="desc" for="id" value="#{text['dwtzQtqk.id']}"/>
    <h:inputText styleClass="text medium" id="id" value="#{dwtzQtqkForm.dwtzQtqk.id}" required="true">
        <v:commonsValidator type="required" arg="#{text['dwtzQtqk.id']}"/>
    </h:inputText>
    <t:message for="id" styleClass="fieldError"/>
    
      <h:outputLabel styleClass="desc" for="operation" value="#{text['dwtzQtqk.operation']}"/>
    <t:message for="operation" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="operation" value="#{dwtzQtqkForm.dwtzQtqk.operation}" required="false" maxlength="20">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="optdate" value="#{text['dwtzQtqk.optdate']}"/>
    <t:message for="optdate" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="optdate" value="#{dwtzQtqkForm.dwtzQtqk.optdate}" required="false" maxlength="23">
    </h:inputText>
     <h:outputLabel styleClass="desc" for="username" value="#{text['dwtzQtqk.username']}"/>
    <t:message for="username" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="username" value="#{dwtzQtqkForm.dwtzQtqk.username}" required="false" maxlength="50">
    </h:inputText>
    -->
